﻿/**
 * @author flower.cheng
 * @description 路由拦截器
 * @param {*} context 
 */
import jumpUrl from '../config/jump.conf';
export default function (context) {
    const {
        route,
        store
    } = context;
    const {
        name,
        query
    } = route;
    if( route.name === 'commonDownload' ){
      window.location.href = jumpUrl.downloadUrl;
    }
}